# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=sierrabreezeenhanced
pkgver=1.3.3
pkgrel=0
pkgdesc="A fork of BreezeEnhanced to make it (arguably) more minimalistic and informative"
url="https://github.com/kupiqu/SierraBreezeEnhanced"
# armhf blocked by extra-cmake-modules
# s390x and riscv64 blocked by kconfigwidgets
arch="all !armhf !s390x !riscv64"
license="LicenseRef-KDE-Accepted-GPL"
makedepends="
	extra-cmake-modules
	kconfigwidgets5-dev
	kcoreaddons5-dev
	kdecoration-dev
	kguiaddons5-dev
	ki18n5-dev
	kiconthemes5-dev
	kwindowsystem5-dev
	qt5-qtbase-dev
	"
source="https://github.com/kupiqu/SierraBreezeEnhanced/archive/V$pkgver/SierraBreezeEnhanced-V$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/SierraBreezeEnhanced-$pkgver"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
5c6969fd60f263110a6852369e10033a67dd05684e80fc116300767e250091008d9c0047aacc03917089ac0c09b446acff79841f9304f4b6c381a0303defaee7  SierraBreezeEnhanced-V1.3.3.tar.gz
"
